
// ImageGroup.tsx
import React from 'react';

interface ImageGroupProps {
    title: string;
    images: string[];
}

const ImageGroup: React.FC<ImageGroupProps> = ({ title, images }) => {
  
    return (
        <div className='natural_scenery'>
            <h3>{title}</h3>
            <span>全部 <i className='iconfont icon-arrow-right'></i></span>
            <div className='natural_scenery_img'>
                {images.map((src, index) => (
                    <img key={index} src={src} alt={title}/>
                ))}
            </div>
            
        </div>
        
    );
    
    
};

export default ImageGroup;
